//
//  FoundServer.h
//  Bees
//
//  Created by NowYouCanSee on 2019/2/26.
//  Copyright © 2019 xiaohan. All rights reserved.
//

#import "BaseServer.h"
#import "FoundModel.h"
#import "InformationModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface FoundServer : BaseServer
@property (nonatomic,strong) FoundModel *foundModel;
///分类ID
@property (nonatomic,strong) NSString *categroyId;
@property (nonatomic,strong) NSMutableArray <FoundRecommendModel*>*categroyList;

///搜索游戏的关键词
@property (nonatomic,strong) NSString *key;
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*recommendedList;
@property (nonatomic,strong) NSMutableArray <FoundRecommendModel*>*gamesList;

@property (nonatomic,strong) NSMutableArray <EvaluationModel*>*evaluationList;
@property (nonatomic,strong) NSMutableArray <InformationModel*>*informationList;
@property (nonatomic,strong) NSMutableArray <InformationModel*>*noticeList;

///收藏列表
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*collectionList;
@property (nonatomic,strong) NSString*collectionId;
@property (nonatomic,assign) BOOL isCol;

///搜索dapp
@property (nonatomic,strong) NSString *dappKey;
@property (nonatomic,strong) NSMutableArray <FoundRecommendModel*>*dappList;
///热门搜到
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*hotSearchList;

///交易查询dap
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*transactionList;
///租赁dapp
@property (nonatomic,strong) NSArray <FoundRecommendModel*>*leaseList;

///发现页首页数据
- (void)getDiscoverComplete:(void(^)(BOOL success,NSString*msg))complete;
///分类更多
- (void)getCategroyListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///游戏中心
- (void)getCenterListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///资讯列表
- (void)getInformationListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///通告
- (void)getNoticeListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///评测列表
- (void)getEvaluationListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///收藏列表
- (void)getCollectionListCompletion:(void(^)(BOOL success,NSString *msg))completion;
///是否收藏
- (void)isCollectionCompletion:(void(^)(BOOL success,NSString *msg))completion;
///收藏
- (void)postCollectionListCompletion:(void(^)(BOOL success,NSString *msg))completion;
///取消收藏
- (void)putCollectionListCompletion:(void(^)(BOOL success,NSString *msg))completion;
///搜索Dapp
- (void)getDappListIsMore:(BOOL)isMore completion:(void(^)(BOOL success, BOOL isHaveNextPage,NSString *msg))completion;
///热门搜索列表
- (void)getHotSearchDappListCompletion:(void(^)(BOOL success,NSString *msg))completion;
///增加热门指数
- (void)postHotSearchDappId:(NSString*)dappId completion:(void(^)(BOOL success,NSString *msg))completion;
///交易查询dapp
- (void)getTransactionDappsCompletion:(void(^)(BOOL success,NSString *msg))completion;
///租赁dapp
- (void)getLeaseDappsCompletion:(void(^)(BOOL success,NSString *msg))completion;
@end

NS_ASSUME_NONNULL_END
